package com.pin.zheng.xingmulibrary.util;

import com.google.gson.Gson;
import com.google.gson.GsonBuilder;

public class GsonFactory {

    public static Gson create() {
        return new GsonBuilder().registerTypeAdapter(Class.class, new ClassCodec())
                .disableHtmlEscaping()    //消除字符 ‘=’输出为 \u003d
                .create();

    }
}
